<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2017/3/29
 * Time: 10:37
 */

namespace Home\Model;


use Think\Model;

class UserorderModel extends Model
{
    protected  $pk='uoid';
    protected  $tableName='userorder';
    //向用户订单表中插入数据，并返回主键
    public function addorder($data){
          return $this->add($data);
    }
}